﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LeMigue.Scrum.Iterface.Service;
using LeMigue.Scrum.Iterface.Model;
using LeMigue.TeamPortal.Dev.Cenarios;

namespace LeMigue.TeamPortal.Dev.Service
{
    public class DevSprintService : ISprintService
    {
        public IList<Sprint> List(Team team)
        {
            return DevDados.Sprint;
        }

        public Sprint SprintByIteration(Iteration iteracao)
        {
            throw new NotImplementedException();
        }

        public Sprint Load(int id)
        {
            return DevDados.Sprint.SingleOrDefault(s => s.Id == id);
        }

        public Sprint Save(Sprint item)
        {
            throw new NotImplementedException();
        }
    }
}
